package com.jungle.sp.daily.controller;

import com.jungle.sp.daily.service.RaffleService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Jungle
 * @create 2024-12-10 9:27
 */
@RestController
@RequestMapping("raffle")
public class RaffleController {
    @Resource
    private RaffleService raffleService;

    @GetMapping("/test")
    public void testRaffle() {
      raffleService.raffle();
    }
}
